Home
last modified time | relevance | path

Searched hist:"6074 d5b0a319fe8400ff079a3c289406ca024321" (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kernel/
H A Dsetup_percpu.cdiff 6074d5b0a319fe8400ff079a3c289406ca024321 Tue Mar 10 08:27:48 CET 2009 Tejun Heo <tj@kernel.org> percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk()

Impact: cleanup, more flexibility for first chunk init

Non-negative @dyn_size used to be allowed iff @unit_size wasn't auto.
This restriction stemmed from implementation detail and made things a
bit less intuitive. This patch allows @dyn_size to be specified
regardless of @unit_size and swaps the positions of @dyn_size and
@unit_size so that the parameter order makes more sense (static,
reserved and dyn sizes followed by enclosing unit_size).

While at it, add @unit_size >= PCPU_MIN_UNIT_SIZE sanity check.

Signed-off-by: Tejun Heo <tj@kernel.org>
/linux/include/linux/
H A Dpercpu.hdiff 6074d5b0a319fe8400ff079a3c289406ca024321 Tue Mar 10 08:27:48 CET 2009 Tejun Heo <tj@kernel.org> percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk()

Impact: cleanup, more flexibility for first chunk init

Non-negative @dyn_size used to be allowed iff @unit_size wasn't auto.
This restriction stemmed from implementation detail and made things a
bit less intuitive. This patch allows @dyn_size to be specified
regardless of @unit_size and swaps the positions of @dyn_size and
@unit_size so that the parameter order makes more sense (static,
reserved and dyn sizes followed by enclosing unit_size).

While at it, add @unit_size >= PCPU_MIN_UNIT_SIZE sanity check.

Signed-off-by: Tejun Heo <tj@kernel.org>
/linux/mm/
H A Dpercpu.cdiff 6074d5b0a319fe8400ff079a3c289406ca024321 Tue Mar 10 08:27:48 CET 2009 Tejun Heo <tj@kernel.org> percpu: more flexibility for @dyn_size of pcpu_setup_first_chunk()

Impact: cleanup, more flexibility for first chunk init

Non-negative @dyn_size used to be allowed iff @unit_size wasn't auto.
This restriction stemmed from implementation detail and made things a
bit less intuitive. This patch allows @dyn_size to be specified
regardless of @unit_size and swaps the positions of @dyn_size and
@unit_size so that the parameter order makes more sense (static,
reserved and dyn sizes followed by enclosing unit_size).

While at it, add @unit_size >= PCPU_MIN_UNIT_SIZE sanity check.

Signed-off-by: Tejun Heo <tj@kernel.org>